<?php 
function checkCookie(){
	if(md5(cookie('username').C('salt')) === cookie('coode')){
		return 1;
	}else{
		return 0;
	}
}